package com.sc.nft.entity;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.FieldStrategy;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.sc.nft.sup.SuperEntity;
import java.math.BigDecimal;
import java.time.LocalTime;
import java.util.Date;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import org.hibernate.validator.constraints.Range;

import javax.validation.constraints.NotNull;

/**
 * 集售配置表(sc_collective_sales_config)实体类
 *
 * @author zxy
 * @since 2024-09-16 17:11:23
 * @description 由 Mybatisplus Code Generator 创建
 */
@Data
@NoArgsConstructor
@Accessors(chain = true)
@TableName("sc_collective_sales_config")
public class CollectiveSalesConfig extends SuperEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 藏品Id
     */
    private Long collectionId;


    /**
     * 投入限制藏品Id
     */
    @TableField(value = "into_collection_id",updateStrategy = FieldStrategy.IGNORED)
    private Long intoCollectionId;
    /**
     * 开启上限
     */
    private Integer openLimit;
    /**
     * 状态
     */
    private Boolean status;
    /**
     * 总投入上限
     */
    private Integer sumIntoLimit;
    /**
     * 投入开启时间
     */
    private Date startIntoTime;
    /**
     * 开始购买时间
     */
    private Date startBuyTime;
    /**
     * 开始购买价格
     */
    private BigDecimal startBuyPrice;
    /**
     * 投入结束时间
     */
    private Date endIntoTime;
    /**
     * 活动结束时间
     */
    private Date activityEndTime;
    @ApiModelProperty(value = "上链费")
    private BigDecimal gas;
    /**
     * 服务费比例
     */
    private BigDecimal serviceFeeRatio;
    /**
     * 规则图片
     */
    private String ruleImage;
    /**
     * 权重
     */
    private Integer sort;

}